package org.eden.heartbeat.core.report;

import org.eden.heartbeat.api.model.MachineInfo;

import java.util.Date;

/**
 * Service that registers the status of a ping request.
 *
 * @author trsimoes
 * @version $Revision:$
 */
public interface ReportService {

    /**
     * Stores the information about a ping request.
     *
     * @param machineInfo the information needed to contact a machine
     * @param date the date when the request to the machine was executed
     * @param result the result of the connection request.
     */
    public void report(final MachineInfo machineInfo, final Date date, final boolean result);
}